package com.gollum.system.domain.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 验证码vo
 *
 * @author Herther
 * @version 1.0.0
 * @createTime 2022年08月28日 21:52:00
 */
@Getter
@Setter
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(value = "验证码vo")
public class CaptchaResponse {

    /** 背景图.*/
    @ApiModelProperty(value = "背景图",name = "backgroundImage")
    private String backgroundImage;

    /** 移动图.*/
    @ApiModelProperty(value = "移动图",name = "backgroundImage")
    private String sliderImage;

    /** 背景图片宽度.*/
    @ApiModelProperty(value = "背景图片宽度",name = "backgroundImageWidth")
    private Integer backgroundImageWidth;

    /** 背景图片高度.*/
    @ApiModelProperty(value = "背景图片高度",name = "backgroundImageHeight")
    private Integer backgroundImageHeight;

    /** 滑动图片宽度.*/
    @ApiModelProperty(value = "滑动图片宽度",name = "sliderImageWidth")
    private Integer sliderImageWidth;

    /** 滑动图片高度.*/
    @ApiModelProperty(value = "滑动图片高度",name = "sliderImageHeight")
    private Integer sliderImageHeight;

    /** 容错值, 可以为空 默认 0.02容错,校验的时候用. */
    private Float tolerant;

    /** 验证码唯一 Token 用于下次校验 **/
    private String token;

    /** 验证码类型. */
    private String type;

    /** data 扩展数据.*/
    @ApiModelProperty(value = "扩展数据",name = "data")
    private Object data;

}
